<?php
define('BASE_PATH',			str_ireplace("index.php", "", $_SERVER["SCRIPT_NAME"]));
define('URL_BASE_PATH', 	'http://'.$_SERVER['HTTP_HOST'].BASE_PATH);
define('PUBLIC_PATH',  		BASE_PATH."public/");
define('URL_PUBLIC_PATH',  	'http://'.$_SERVER['HTTP_HOST'].BASE_PATH."public/");
define('IMG_PATH', 			PUBLIC_PATH."img/");
define('CSS_PATH',  		PUBLIC_PATH."css/");
define('JS_PATH',  			PUBLIC_PATH."js/");
define('APP_PATH',			"App/");
define('LIBRARY_PATH',		"library/");
define('UPLOAD_PATH',		PUBLIC_PATH.'upload/');
define('THEME_PATH', 		PUBLIC_PATH."theme/");

define('SESSION_LOGIN', 	'FoxSession');
